package com.tcs.test.staticpack;

import com.tcs.util.staticpack.StaticPack;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component(value="packOne")
public class PackOne implements IPrint{

    private final Logger logger = LoggerFactory.getLogger(PackOne.class);

    @Resource(name = "staticPack")
    private StaticPack<String,String> staticPack;

    @Override
    public void print() {
        logger.info(" staticPack : {} " , staticPack);
    }
}
